import Request from '@/utils/request/request-util';

export class ChatApi {

    static messages(params) {
        return Request.get('/airag/chat/messages', params);
    }

    static conversations(params) {
        return Request.get('/airag/chat/conversations', params);
    }

    static queryById(params) {
        return Request.get('/airag/app/queryById', params);
    }

    static updateConversationTitle(params) {
        return Request.put('/airag/chat/conversation/update/title', params);
    }

    static deleteConversation(params) {
        return Request.delete('/airag/chat/conversation/delete', params);
    }

}
